package com.heima.wemedia.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.SensitiveDto;
import com.heima.model.wemedia.pojos.WmSensitive;

public interface WmSensitiveService {
    /**
     * 根据条件查询敏感词
     * @param dto
     * @return
     */
    ResponseResult findAll(SensitiveDto dto);

    ResponseResult del(Integer id);

    ResponseResult save(WmSensitive wmSensitive);
}
